package com.zirenx.sys.service;

import com.jfinal.plugin.activerecord.Db;
import com.zirenx.sys.model.SysRole;
import com.zirenx.sys.model.SysRoleMenu;

import java.util.ArrayList;
import java.util.List;

public class SysRoleService {

    SysRole dao = new SysRole().dao();

    public List<SysRole> getList(){
        String sql = "select * from "+ dao.getTableName() +" t";
        return dao.find(sql);
    }
}
